<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"   
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:ace="http://www.icefaces.org/icefaces/components"
      xmlns:h="http://java.sun.com/jsf/html">
   <body>
      <ui:composition> 
        	 <h:form id="menu-form">
        	      <ace:menuBar id="user-menu" autoSubmenuDisplay="true">
        	           <ace:menuItem id="logount-btn" value="#{msgs['menu.logout']}"      icon="ui-icon ui-icon-power" 
        	                         actionListener="#{usuarioBean.logout}"   action="/login?faces-redirect=true"/>
        	           <ace:menuItem id="devices-btn" value="#{msgs['menu.listdevices']}" icon="ui-icon ui-icon-lightbulb" 
        	                         action="devices"/>
        	           <ace:menuItem id="alarms-btn" value="#{msgs['menu.lookalarms']}"  icon="ui-icon ui-icon-alert" 
        	                         action="alarms"/>
        	          
        	      </ace:menuBar> 
        	 </h:form>
      </ui:composition>	
   </body>
</html>